<%-- 
    Document   : editUserExterno
    Created on : 28/01/2010, 09:40:31 PM
    Author     : ADMINISTRADOR
--%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<%@taglib prefix="r" uri="http://richfaces.ajax4jsf.org/rich" %>

<script language="javascript" src="../js/funciones.js"></script>
<link href="/general/css/estilosEsymons.css" rel="stylesheet" type="text/css" />

<f:view>
<h:form>
    <table width="700" border="0" cellspacing="0" cellpadding="0">
      <tr><td height="25" colspan="6" class="texto3" align="center">
        <h:outputLabel value="Actualizar Usuario" /></td>
      </tr>
      <tr><td colspan="6" height="30">&nbsp;</td></tr>
      <tr>
            <td height="25">&nbsp;</td>
            <td align="left"><h:outputLabel value="Tipo Usuario:" styleClass="texto22" /></td>
            <td colspan="3" align="left">
                <h:selectOneMenu value="#{UsuarioExternoController.userExterno.tusCodigo}" onchange="submit();" styleClass="fondo012" >
            <f:selectItem itemLabel="-----Seleccionar-----" />
            <f:selectItems value="#{TipoUsuarioController.selectListaTipoUsuarios}" />
        </h:selectOneMenu>
            </td>
            <td>&nbsp;</td>
          </tr>
         <tr>
            <td height="25">&nbsp;</td>
            <td align="left"><h:outputLabel value="Usuario:" styleClass="texto22" /></td>
            <td colspan="3" align="left"><h:inputText value="#{UsuarioExternoController.userExterno.gueUsuario}" size="40" styleClass="fondo012"  /></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="25">&nbsp;</td>
            <td align="left"><h:outputLabel value="Clave Anterior:" styleClass="texto22" /></td>
            <td colspan="3" align="left"><h:inputText value="#{UsuarioExternoController.userExterno.gueClave}" size="40" styleClass="fondo012"  /></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="25">&nbsp;</td>
            <td align="left"><h:outputLabel value="Clave Nueva:" styleClass="texto22" /></td>
            <td colspan="3" align="left"><h:inputSecret value="#{UsuarioExternoController.claveNueva}" size="40" styleClass="fondo012"  /></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="25">&nbsp;</td>
            <td align="left"><h:outputLabel value="Activo:" styleClass="texto22" /></td>
            <td colspan="3" align="left"><h:selectBooleanCheckbox value="#{UsuarioExternoController.userExterno.gueActivo}" /></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="25" colspan="6">&nbsp;</td>
          </tr>
          <tr>
            <td height="25">&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td align="center"><h:commandButton  action="#{UsuarioExternoController.editarUsuario}" value="Guardar" styleClass="enlace9" /></td>
            <td align="center"><h:commandButton action="#{UsuarioExternoController.retornar}" value="Cancelar" styleClass="enlace9" /></td>
            <td>&nbsp;</td>
          </tr>
    </table>
</h:form>
</f:view>

